/**
 * Copyright (c) 2006 Amgad S Youssef
 * All Rights Reserved.
 * Licensed under the Eclipse Public License - v 1.0
 * For more information see http://www.eclipse.org/legal/epl-v10.html
 */
package org.eclipsejcde.jcbp.wizards.jcapplet;

import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.ui.INewWizard;
import org.eclipse.ui.IWorkbench;
import org.eclipsejcde.jcbp.wizards.jcapplet.pages.NewJCBPAppletExtraFeaturesWizardPage;
import org.eclipsejcde.jcbp.wizards.jcapplet.pages.NewJCBPAppletWizardPage;
import org.eclipsejcde.wizards.jcapplet.NewJCAppletWizard;

/**
 * @author Amgad S Youssef
 * 
 */
public class NewJCBPAppletWizard extends NewJCAppletWizard implements INewWizard {
	@Override
	public void init(IWorkbench workbench, IStructuredSelection selection) {
		this.selection = selection;
		newJCAppletWizardPage = new NewJCBPAppletWizardPage();
		newJCAppletWizardPage.init(this.selection);
		newJCAppletExtraFeaturesWizardPage = new NewJCBPAppletExtraFeaturesWizardPage(newJCAppletWizardPage);
	}

}
